package com.wsz.eduservice.service;

import com.wsz.eduservice.pojo.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wsz.eduservice.pojo.vo.chapter.ChapterVo;

import java.util.List;

/**
* @author wangs
* @description 针对表【edu_chapter(课程)】的数据库操作Service
* @createDate 2022-09-24 19:05:02
*/
public interface ChapterService extends IService<Chapter> {

    List<ChapterVo> getChapterVideoByCourseId(String courseId);

    void removeAllById(String chapterId);

    Boolean deleteChapter(String chapterId);

    void removeByCourseId(String courseId);
}
